← Index
NYTProf Performance Profile   
For /usr/share/koha/opac/cgi-bin/opac/opac-search.pl
  Run on Tue Oct 15 17:10:45 2013
Reported on Tue Oct 15 17:12:56 2013

Filename(eval 1132)[/usr/share/perl/5.10/CGI.pm:869]
StatementsExecuted 20 statements in 43µs
Eval Invoked At/usr/share/perl/5.10/CGI.pm line 869
Sibling evals1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
22251µs185µsCGI::::query_stringCGI::query_string
Call graph for these subroutines as a Graphviz dot language file.
Line State
ments
Time
on line
Calls Time
in subs
Code
1
# spent 185µs (51+134) within CGI::query_string which was called 2 times, avg 93µs/call: # once (32µs+95µs) by CGI::url at line 832 of CGI.pm # once (20µs+39µs) by CGI::url at line 12 of (eval 1127)[CGI.pm:869]
package CGI; sub query_string {
224µs26µs my($self) = self_or_default(@_);
# spent 6µs making 2 calls to CGI::self_or_default, avg 3µs/call
32800ns my($param,$value,@pairs);
426µs228µs for $param ($self->param) {
# spent 28µs making 2 calls to CGI::param, avg 14µs/call
525µs226µs my($eparam) = escape($param);
# spent 26µs making 2 calls to CGI::Util::escape, avg 13µs/call
626µs258µs for $value ($self->param($param)) {
# spent 58µs making 2 calls to CGI::param, avg 29µs/call
724µs216µs $value = escape($value);
# spent 16µs making 2 calls to CGI::Util::escape, avg 8µs/call
82500ns next unless defined $value;
924µs push(@pairs,"$eparam=$value");
10 }
11 }
1224µs for (keys %{$self->{'.fieldnames'}}) {
13 push(@pairs,".cgifields=".escape("$_"));
14 }
15210µs return join($USE_PARAM_SEMICOLONS ? ';' : '&',@pairs);
16}
17
18;